FROM ibm-semeru-runtimes:open-8u362-b09-jre-jammy

MAINTAINER lichong <578267200@qq.com>

RUN mkdir /deployments

COPY ./demo.jar /deployments
COPY ./run-java.sh /deployments

ENV JAVA_APP_JAR=/deployments/demo.jar

ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true"
CMD ["/deployments/run-java.sh"]